package tsing.javase.common.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Tsing/吴清平
 * @Date 2022/10/18 15:27
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginBody {

    /**
     * 用户名
     */
    private String username;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 验证码
     */
    private String code;


    /**
     * 唯一标识
     */
    private String uuid;


    public String getInfo(){
        return this.uuid +":"+this.username+":"+this.password;
    }
}
